﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pai.LiveStation.Data
{
    public class RadioJoins
    {
    }

    public partial class Media
    {
        public IEnumerable<Author> Authors
        { 
            get { return this.MediaAuthors.Select(x => x.Author).ToList<Author>(); }
            set { throw new NotImplementedException(); } 
        }

        public IEnumerable<Genre> Genres
        {
            get { return this.MediaGenres.Select(x => x.Genre).ToList<Genre>(); }
            set { throw new NotImplementedException(); }
        }

        public IEnumerable<Tag> Tags
        {
            get { return this.MediaTags.Select(x => x.Tag).ToList<Tag>(); }
            set { throw new NotImplementedException(); }
        }
    }
}
